const roleService = require("../service/role.service");
const BaseController = require("./BaseController");
class RoleController extends BaseController {
  async demo(ctx, next) {
    console.log("进入子类的getList方法", this);
    await roleService.demo();
    ctx.body = {
      data: null,
      msg: "成功",
    };
  }
}
module.exports = new RoleController(roleService);
